package cn.yaxma.xmpp;

/**
 * Created by Yaxma on 2016/11/1.
 * Email：2678503498@qq.com
 */

public class ChatMessage {

    private Direction direction;
    private String headUrl;
    private String msg;

    public ChatMessage() {

    }

    public ChatMessage(Direction direction) {
        this.direction = direction;
    }

    public Direction getDirection() {
        return direction;
    }

    public void setDirection(Direction direction) {
        this.direction = direction;
    }

    public String getHeadUrl() {
        return headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public enum Direction {
        SEND,
        RECEIVE
    }

}
